import { R_tableData, R_add, R_update, R_remove } from "@/utils/tableData";


export const A_tableData = function(data) {
    return R_tableData({
        method: 'post',
        url: '/NatPlatnormal/list',
        data,
    })
}


export const A_add = function(data) {
    return R_add({
        method: 'post',
        url: '/NatPlatnormal/add',
        data
    })
}


export const A_update = function(data) {
    return R_update({
        method: 'post',
        url: '/NatPlatnormal/update',
        data
    })
}

/**
 * 
 * @param {*} platKey 
 * @returns 
 */
export const A_remove = function(platKey) {
    return R_remove({
        method: 'post',
        url: '/NatPlatnormal/delete',
        data: {
            platKey
        }
    })
}